package com.example.aixiangshou.runninggame;

import android.animation.ValueAnimator;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;

import com.x_memteor.base_master.application.MyApplication;
import com.x_memteor.base_master.base.BaseActivity;
import com.x_memteor.base_master.bean.ScorBean;
import com.x_memteor.base_master.utils.RecycleViewUtils;
import com.x_memteor.base_master.view.SignSeekBar;

import java.util.List;

import butterknife.BindView;

public class ShowScoreActivity extends BaseActivity {

    @BindView(R.id.recy_show_score)
    RecyclerView recyShowScore;
    @BindView(R.id.sign_seek_bar)
    SignSeekBar signSeekBar;

    ShowScoreAdapter showScoreAdapter;
    List<ScorBean> scorBeanList;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public void initRootView() {
        setContentView(R.layout.activity_show_score);
    }

    @Override
    public void initView() {
        RecycleViewUtils.getVerticalLayoutManager(ShowScoreActivity.this, recyShowScore);
    }

    @Override
    public void initData() {
        scorBeanList = MyApplication.getInstance().getGameBean().getScorBeanList();
        showScoreAdapter = new ShowScoreAdapter(R.layout.item_show_score, scorBeanList);
        recyShowScore.setAdapter(showScoreAdapter);
    }

    @Override
    public void initListener() {

    }
}
